Component({
    properties: {
        list: {
            type: null
        },
        state: {
            type: null
        },
        shopid: {
            type: null
        },
        formCard: {
            type: null
        }
    },
    data: {
        articles: []
    },
    lifetimes: {
        attached: function() {},
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {},
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        gocatelist: function(t) {
            var a = t.currentTarget.dataset.id;
            this.data.formCard ? wx.navigateTo({
                url: "/packageB/member/business_card/CardGoods/CardGoods?id=" + a + "&card_id=" + this.data.formCard
            }) : wx.navigateTo({
                url: "/packageC/microshop/catelist1/catelist1?id=" + a + "&shop_id=" + this.data
            });
        }
    }
});